<?php

class App_Methods_Data_UserPulpit {
	
	public $applicationId;
	public $background;
	public $backgroundDb;
	public $size;
	public $visible;
	
	public function __construct(UserPulpit $userPulpit) {
		$this->applicationId = $userPulpit->getApplicationId();
		$this->background = $userPulpit->getBgFilename();
		$this->backgroundDb = $userPulpit->getDefaultBgFilename();
		$this->size = $userPulpit->getSize();
		$this->visible = (bool)$userPulpit->getVisible();
	}
	
}